import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../../hj_utils/api_service/mine_service.dart';

class MessageCenterLogic extends GetxController with GetTickerProviderStateMixin {
  MessageCenterLogic get to => Get.find<MessageCenterLogic>();

  late TabController tabController = TabController(length: titleArr.length, vsync: this);

  List<String> titleArr = ['私信', '评论', '点赞'];

  void getUnReadNum() async {
    await MineService.getUnReadNum();
    update();
  }
}
